package cmfg;

public class BADataDaoImpl implements NetDataDao {
	private double[] netData;
	private int InitialNodeCount=5;//netData[0]
	private int AddNodeCount=2;//netData[1]
	private int FinalNodeCount=100;//netData[2]

	@Override
	public double[] getNetData() {

		return netData;
	}

	@Override
	public void setNetData(double[] netData) {

		this.netData = netData;
		InitialNodeCount = (int) netData[0];
		AddNodeCount = (int) netData[1];
		FinalNodeCount = (int) netData[2];

	}

	public int getInitialNodeCount() {
		return InitialNodeCount;
	}

	public int getAddNodeCount() {
		return AddNodeCount;
	}

	public int getFinalNodeCount() {
		return FinalNodeCount;
	}

}
